package com.qifan.energy.activity;

import android.os.Bundle;

import com.qifan.energy.base.BaseActivity;
import com.qifan.energy.R;
import com.qifan.energy.util.ClipboardUtils;
import com.qifan.energy.util.IntentUtils;
import com.qifan.energy.util.ToastUtils;

import butterknife.OnClick;

public class MyServiceActivity extends BaseActivity {

    /*@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_service);
    }*/

    @Override
    protected int getLayoutId() {
        return R.layout.activity_my_service;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        /* 更改状态栏 */
        changeStatusTransparentFontBlack();
    }

    @Override
    protected void initData() {

    }

    @OnClick(R.id.dial_tv)
    void onDialTvClicked(){
        IntentUtils.dialPhone(this,"13262271065");
        ToastUtils.showShort("拨打电话");
    }

    @OnClick(R.id.copy_tv)
    void onCopyTvClicked(){
        ClipboardUtils.copyText("wxid_gjjh42cxb0f722");
        ToastUtils.showShort("已复制");
    }
}
